<%--사용안하는 페이지임 --%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--jstl을 쓰기 위해 사용 --%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><%--숫자 포맷을 사용하기 위해 사용 --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%><%--함수들을 이용하기 위해 사용 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!--<script type="text/javascript" src="script/sms_riskI_script.js"></script>-->
</head>
<body>
<div class="box">
      		<h4 class="white">자산기밀등급분류</h4>
        <div class="box-container1">     		
        <form name="riskIDelForm" action="riskIAction.do" method="post">
        	<input type="hidden" name="mode" value="masecret_delete"></input>
        	<input type="hidden" name="pro_id" value="${sessionScope.lastProId }"></input>
        	<table class="table-long">
      			<tfoot>
      				<tr>
      					<td><div class="align-right"><!--select class="form-select"><option value="option1">Bulk Options</option>
      					<option value="option2">Delete All</option></select-->
      					<a href="#" class="button" onclick="javascript: riskIWritePage('masecret_insertPage')"><span>입력</span></a>
      					<a href="#" class="button" onclick="javascript: riskIDelete()"><span>삭제</span></a></div></td>
      				</tr>
      				<tr><td class="spaceLine"></td></tr>
      			</tfoot>
      		</table>
      		<table class="table-long">
      			<colgroup>
					<col width="55px"/>
					<col width="200px"/>
					<col/>
					<col width="15px"/>
				</colgroup>
      			<thead>
      				<tr>
      					<td class="col-chk"><input type='checkbox' name='checkAll' onclick="javascript: selectAll()" class="chkCursor"></input></td>
      					<td>기밀등급</td>
      					<td>등급부여기준</td>
      					<td></td>
      				</tr>
      			</thead>
      		</table>
      		<div class="scrollDIV">
      		<table class="table-long">
      			<colgroup>
					<col width="55px"/>
					<col width="200px"/>
					<col/>
					<col width="15px"/>
				</colgroup>
      			<tbody>
      				<c:choose>
                    	<c:when test="${fn:length(list)!= 0}">
                       	<c:forEach var="list" items="${requestScope.list}" varStatus="status">
	                    			<%--
	                    			<tr onmouseover="ChangeBackground(this,'over','${status.index}');" onmouseout="ChangeBackground(this,'out','${status.index}');" class="odd">
	                    			 --%>
                   			 <tr <c:if test="${status.index%2==0 }">class="odd"</c:if> onmouseover="ChangeBackground(this,'over','${status.index}');" onmouseout="ChangeBackground(this,'out','${status.index}');">
                    			<td class="col-chk"><input type="checkbox" name="check" id="check${status.index+1 }"  value='${list.asc_id}' class="chkCursor"></input></td>
                    			<td>
                    				<div class="ellipsis"  style="width:100%;"><a href="riskIAction.do?mode=masecret_updatePage&asc_id=${list.asc_id }" class="nor ellipsis" title='${list.asc_level }'>${list.asc_level }</a></div>
                    			</td>
                    			<td>
                    				<div class="ellipsis" style="width:100%;" title="${list.asc_standard }">${list.asc_standard }</div>
                    			</td>
	   					 	<td></td>
                    		</tr>
                    		
                    	</c:forEach>
                    	</c:when>
                    	<c:otherwise>
                    		<tr class="odd">
								<td colspan="4" class="noDataTD">-데이터가 없습니다-</td>
							</tr>
                    	</c:otherwise>
                    	</c:choose>
      			</tbody>
      		</table>  	
      		</div>
      		</form>
      	</div><!-- end of div.box-container1 -->
      	</div> <!-- end of div.box -->
</body>
</html>